package com.itheima.prize.commons.db.service;

import com.itheima.prize.commons.db.entity.CardGame;
import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.prize.commons.utils.ApiResult;

/**
* @author shawn
* @description 针对表【card_game】的数据库操作Service
* @createDate 2023-12-26 11:58:48
*/
public interface CardGameService extends IService<CardGame> {


    /**
     * 获取所有活动列表
     * @param status
     * @param curpage
     * @param limit
     * @return
     */
    ApiResult gameList(int status, int curpage, int limit);

    /**
     * 获取活动信息
     * @param gameid
     * @return
     */
    ApiResult getGameByGameId(int gameid);
}
